<?php

class User_ProfileController extends Pldkp_Controller_Action
{
    public function indexAction()
    {
        if (!$this->_user) {
            throw new Pldkp_Controller_Exception_NoUser();
        }
        $characters = $this->_user->findDependentRowset('User_Model_Characters');  

        $this->view->user = $this->_user;
        $this->view->characters = $characters;
    }
    
    public function viewAction()
    {
        // View another users profile
        
    }
}